package com.ynet.middleground.approve.bean;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * BusinessChildData 业务数据-子页面数据
 *
 * @author suremotoo
 * @date 2023/03/08 22:19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "业务数据-子页面数据属性", description = "业务数据-子页面数据属性")
public class BusinessChildData implements Serializable {

    private static final long serialVersionUID = 4146842176133301774L;

    @ApiModelProperty(value = "新页面（或弹窗）名称", notes = "新页面（或弹窗）名称", dataType = "String")
    private String title;

    @ApiModelProperty(value = "是否隐藏新页面（或窗口）名称", notes = "是否隐藏新页面（或窗口）名称", dataType = "Boolean")
    private Boolean isHiddenTitle;

    @ApiModelProperty(value = "是否用按钮触发打开新页面（或弹窗），暂不使用，扩展字段", notes = "是否用按钮触发打开新页面（或弹窗），暂不使用，扩展字段",
        dataType = "Boolean")
    private Boolean isBtnActive;

    @ApiModelProperty(value = "触发时用的按钮名称，暂不使用，扩展字段", notes = "触发时用的按钮名称，暂不使用，扩展字段", dataType = "String")
    private String btnName;

    @ApiModelProperty(value = "子业务数据", notes = "子业务数据")
    private List<BusinessModuleData> data;

}
